type CustomArray=(number|string)[]

let arr1:CustomArray=[1,'a',3,'b']
let arr2:CustomArray=['x','y',6,7]